<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">			
		<title>全部分类</title>
		<link href="${pageContext.request.contextPath }/AmazeUI-2.4.2/assets/css/amazeui.css" rel="stylesheet" type="text/css" />
		<link href="${pageContext.request.contextPath }/basic/css/demo.css" rel="stylesheet" type="text/css" />		
		<link href="${pageContext.request.contextPath }/css/sortstyle.css" rel="stylesheet" type="text/css" />
		<script src="${pageContext.request.contextPath }/AmazeUI-2.4.2/assets/js/jquery.min.js"></script>
	</head>

	<body>
		
			<!--顶部导航条 -->
			<%@ include file="menu.jsp"%>
				<!--悬浮搜索框-->
				<%@ include file="find.jsp"%>
		
		<!--主体-->
		
		<div id="nav" class="navfull">
			<div class="area clearfix">
				<div class="category-content" id="guide_2">
					<div class="long-title"><span class="all-goods">全部分类</span><span id="meauBack"><a href="#" onclick="history.go(-1)">返回</a></span></div>
					<div class="category">
						<ul class="category-list" id="js_climit_li">
						<br/>
						<br/>
						<br/>
							<s:iterator var="prevCategory" value="#session.prevList">
							<li class="appliance js_toggle relative">
								<div class="category-info">
									<h3 class="category-name b-category-name"><i><img src="${pageContext.request.contextPath }/<s:property value="#prevCategory.image"/>">
									</i><a class="ml-22" title="<s:property value="#prevCategory.pcname"/>"><s:property value="#prevCategory.pcname"/></a></h3>
									<em>&gt;</em></div>
								<div class="menu-item menu-in top">
									<div class="area-in">
										<div class="area-bg">
											<div class="menu-srot">
												<div class="sort-side">
													<s:iterator var="category" value="#prevCategory.categorys">
													<dl class="dl-sort">
														<dt><span title="<s:property value="#category.cname"/>"><s:property value="#category.cname"/></span></dt>
														<s:iterator var="categorySecond" value="#category.categorySeconds">
															<dd><a title="<s:property value="#categorySecond.csname"/>" 
															href="${pageContext.request.contextPath }/product_findByCsid?csid=<s:property value="#categorySecond.csid"/>&pageNo=1">
															<span><s:property value="#categorySecond.csname"/></span></a></dd>
														</s:iterator>
													</dl>
													</s:iterator>
												</div>

											</div>
										</div>
									</div>
								</div>
							<b class="arrow"></b>	
							</li>
							</s:iterator>
						</ul>
					</div>
				</div>

			</div>
		</div>
		<script type="text/javascript">
			$(document).ready(function() {
		$("li").click(function() {		
		     	$(this).addClass("selected").siblings().removeClass("selected");
	       })
		})
		</script>
		<div class="clear"></div>
		<!--引导 -->
		<%@ include file="guide.jsp" %>
	</body>

</html>